<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
echo Bootstrap::startPage("en");
echo Bootstrap::pageheader("Actors");
render('application','header');
echo Bootstrap::stylesheet(APPLICATION_HOSTNAME."/css/dashboard.css");
echo Bootstrap::endPageHeader();
echo Bootstrap::body();
render('admin',"navbar");
echo Bootstrap::FluidGridContainter();
echo Bootstrap::GridRow();
render('admin',"sidebar",$variables);
echo Bootstrap::GridColumn([
    "md"=>11,
    "sm"=>9,
    "md-offset"=>1,
    "sm-offset"=>2,
    "class"=>"main"
    ]);

echo Bootstrap::header(1, ["class"=>"page-header"]);
echo "Actors";
echo Bootstrap::endHeader(1);



echo Bootstrap::GridRow();
echo Bootstrap::GridColumn([
    "sm"=>12,
    "sm-hidden"=>true,
    "xs-hidden"=>true,
    
    "class"=>"text-center"]);
$btns=array(
        ["text"=>"Add", "href"=>"#add","modal"=>true]
    );
foreach(getAlphabets("A") as $alpha){
    array_push($btns, [
        "text"=>$alpha,"href"=>"#$alpha","modal"=>true
    ]);
}
    array_push($btns, [
        "text"=>"Search","href"=>"#submit","modal"=>true
    ]);

echo Bootstrap::ButtonGroup($btns);
echo Bootstrap::EndGridColumn();
echo Bootstrap::EndGridRow();
echo Bootstrap::GridRow([
    "style"=>'margin-top:10px'
]);
$image='';
for($i=0;$i<10;$i++){
    echo Bootstrap::Thumbnail($image,"Lord Krishna Bagawan-".$i);
}
echo Bootstrap::EndGridRow();
echo Bootstrap::GridRow([
    "md"=>3,
    "sm"=>9,
    "md-offset"=>1,
    "sm-offset"=>2,
    "style"=>'margin-top:10px'
    ]);
echo Bootstrap::HorizontalForm();
echo Bootstrap::TextInputBox("sample", "sample");
echo Bootstrap::PasswordInputBox("sample", "sample");
echo Bootstrap::CheckBoxGroup("Gender");
echo Bootstrap::CheckBox("gender", "m", false, true);
echo Bootstrap::CheckBox("gender", "f", false, true);
echo Bootstrap::EndCheckBoxGroup();
echo Bootstrap::EndHorizontalForm();

echo Bootstrap::EndGridRow();
echo Bootstrap::EndGridColumn();
echo Bootstrap::EndGridRow();
echo Bootstrap::ModalForm("add");
?>

<!-- Modal -->
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
      </div>
      <div class="modal-body">
          
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
<?php
echo Bootstrap::EndModalForm();
echo Bootstrap::EndFluidGridContainter();

echo Bootstrap::endBody();
echo Bootstrap::endPage();
?>

